import java.util.Scanner;

public class TestStudent {
    public static void main(String[] args) {
        Scanner n=new Scanner(System.in);
        Student m=new Student();
        System.out.print("请输入姓名：");
        m.name=n.next();
        System.out.print("请输入学号：");
        m.number=n.nextInt();
        System.out.print("请输入班级：");
        m.grade=n.next();
        System.out.print("请输入性别：");
        m.sex=n.next();
        System.out.print("请输入年龄");
        m.age=n.nextInt();
        System.out.print("请输入性格：");
        m.character=n.next();
        m.student();

    }
}
